package com.jswlw.service.biz;

import com.github.pagehelper.Page;
import com.jswlw.entity.biz.DistributionRecord;

import java.util.Date;
import java.util.List;

/**
 * @author 吴维斌 E-mail:wuweibin0817@163.com
 * @version 创建时间：${date} ${time}
 */
public interface DistributionRecordService {

    void add(DistributionRecord distributionRecord);

    void update(DistributionRecord distributionRecord);

    int totalAmount(Integer distributorId, Date startTime, Date endTime);

    Page<DistributionRecord> queryPage(DistributionRecord filter);

    List<DistributionRecord> queryList(DistributionRecord filter);

    int totalAmount4Distributor(DistributionRecord filter);
}
